package com.gkd.springboot_employeeadmin.service;
import com.gkd.springboot_employeeadmin.pojo.Employee;

import java.util.List;

public interface EmployeeService {
     List<Employee> allemp();
     int addEmploy(Employee employee);
     int updateEmp(Employee employee);
     Employee queryEmpById(int id);
     int deleteEmpById(int id);
     List<Employee> pagebean(int indexpage,int pageSize);
     int sumemp();
}
